<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="/statics/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">

    <link href="/statics/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <link href="/statics/css/plugins/iCheck/custom.css" rel="stylesheet">

    <link href="/statics/css/animate.min.css" rel="stylesheet">

    <link href="/statics/css/style.min862f.css?v=4.1.0" rel="stylesheet">

    <link href="/statics/css/page.css" rel="stylesheet">

    <link href="/statics/css/new.css" rel="stylesheet">


    <script src="/statics/js/jquery.min63b9.js?v=2.1.4"></script>
    <script src="/statics/js/plugins/layer/layer.min.js"></script>
    <script src="/statics/js/bootstrap.min14ed.js?v=3.3.6"></script>
    <script src="/statics/js/plugins/peity/jquery.peity.min.js"></script>
    <script src="/statics/js/content.mine209.js?v=1.0.0"></script>
    <script src="/statics/js/plugins/iCheck/icheck.min.js"></script>
    <script src="/statics/js/demo/peity-demo.min.js"></script>
    <script src="/statics/js/plugins/layer/laydate/laydate.js"></script>
    <script type="text/javascript" src="/statics/js/jquery.imgbox.pack.js"></script>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>


<table align="center" width="400" cellpadding="1" cellspacing="2" border="0">

            <form action="{:url('MessagesApi/statistic_list',['tok'=>$token])}" method="post">
                <td height="150px">
                    <input placeholder="开始时间" name="starttime" id="starttime" onClick="laydate({istime: true, format: 'YYYY-MM-DD'})" value="" class="input-sm form-control">
                </td>
                <td>
                    <input placeholder="结束时间" name="endtime" id="endtime" onClick="laydate({istime: true, format: 'YYYY-MM-DD'})"  value=""  class="input-sm form-control">
                </td>
                <td>
                    <input type="submit" value="查询" class="btn btn-sm btn-primary">
                </td>
           </form>


    <tr align="right">
        <td align="right" width="200px;">共有用户：{$total}</td>
        <td align="right">实名用户数：{$is_name_num}</td>
    </tr>
</table>
<table align="center" width="800" cellpadding="1" cellspacing="2" border="1">

    <tr>
        <td>用户名</td>
        <td>手机</td>
        <td>来源</td>
        <td width="10%">是否实名</td>
        <td width="10%">性别</td>
        <td width="30%">城市</td>
        <td>芝麻分</td>
    </tr>
    {foreach name="members" item="m"}
        <tr>
            <td>{$m.username}</td>
            <td>{$m.mobile}</td>
            <td>{$m.from}</td>
            <td>{$m.is_name}</td>
            <td>{$m.sex}</td>
            <td>{$m.city}</td>
            <td>{$m.zhimafen}</td>
        </tr>
    {/foreach}
</table>
</body>
</html>